package org.changchen.fgt.service;

import java.util.List;

import javax.servlet.http.HttpServletResponse;

import org.changchen.fgt.dto.VideoDetail;
import org.changchen.fgt.dto.VideoInfo;
import org.springframework.web.servlet.ModelAndView;

public interface FilmService {

	/**   
	 * @Title:      getVideoList   
	 * @Description:请求影视列表  
	 * @param:      @param word
	 * @param:      @return      
	 * @return:     List<VideoInfo>      
	 * @throws   
	 */
	List<VideoInfo> getVideoList(String word);

	/**   
	 * @Title:      getVideoDetail   
	 * @Description:请求影视详情   
	 * @param:      @param code
	 * @param:      @param vodId
	 * @param:      @return      
	 * @return:     VideoDetail      
	 * @throws   
	 */
	VideoDetail getVideoDetail(String code, Integer vodId);

	/**   
	 * @Title:      downloadM3u8   
	 * @Description:下载可播放文件   
	 * @param:      @param code
	 * @param:      @param vodId
	 * @param:      @param response      
	 * @return:     ModelAndView      
	 * @throws   
	 */
	ModelAndView downloadM3u8(String code, Integer vodId, HttpServletResponse response);

}
